package com.hsgene.user.domain;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.util.Date;

/**
 * 管理员信息Entry
 *
 * @author wangbing
 * @version 1.0, 2018/6/28
 */
@Deprecated
public class Employee {

    /**
     * 用户id
     */
    private String userId;

    /**
     * 角色类型
     */
    private String roleType;

    /**
     * 所属供应商id
     */
    private Long supplierId;

    /**
     * 是否离职
     */
    private Boolean quitJob;

    /**
     * 创建时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date updateTime;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Boolean getQuitJob() {
        return quitJob;
    }

    public void setQuitJob(Boolean quitJob) {
        this.quitJob = quitJob;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
